<?php      
require_once 'BaseAction.php';          
class indexController extends TT_Base_Action{
	public function indexAction(){
  $u = $this->getUser();
  $this->view->user=$u;
        if($u->uid=="")   //neu nguoi dung chua dang nhap
        {
               $this->_helper->getHelper('Redirector')->gotoUrl('/user/login');    
        }   
	}
}